import type { LoginIstate, LoginResState } from '@/types/login'
import { http } from '@/utils/http'

export default {
  mixedLoginApi: (params: LoginIstate) => {
    //登录
    return http<LoginResState>({
      method: 'POST',
      url: '/v1/account/mixedLogin',
      data: {
        ...params,
        webApp_: 1,
        floor: 21,
        company_id_: 1,
        goods_type_: 1,
      },
    })
  },
}
